package com.fau.wmbj.server.flowable.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 流程实例对象 act_hi_procinst
 */
@Getter
@Setter
@Entity(name = "ACT_HI_PROCINST")
public class ActHiProcinst implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Column(name = "ID_")
    @Id
    private String procinstId;

    @Column(name = "REV_")
    private Long rev;

    @Column(name = "PROC_INST_ID_")
    private String procInstId;

    @Column(name = "BUSINESS_KEY_")
    private String businessKey;

    @Column(name = "PROC_DEF_ID_")
    private String procDefId;

    @Column(name = "START_TIME_")
    private Date startTime;

    @Column(name = "END_TIME_")
    private Date endTime;

    @Column(name = "DURATION_")
    private Long duration;

    @Column(name = "START_USER_ID_")
    private String startUserId;

    @Column(name = "START_ACT_ID_")
    private String startActId;

    @Column(name = "END_ACT_ID_")
    private String endActId;

    @Column(name = "SUPER_PROCESS_INSTANCE_ID_")
    private String superProcessInstanceId;

    @Column(name = "DELETE_REASON_")
    private String deleteReason;

    @Column(name = "TENANT_ID_")
    private String tenantId;

    @Column(name = "NAME_")
    private String name;

    @Column(name = "CALLBACK_ID_")
    private String callbackId;

    @Column(name = "CALLBACK_TYPE_")
    private String callbackType;

    @Column(name = "REFERENCE_ID_")
    private String referenceId;

    @Column(name = "REFERENCE_TYPE_")
    private String referenceType;

    @Column(name = "PROPAGATED_STAGE_INST_ID_")
    private String propagatedStageInstId;

    @Column(name = "BUSINESS_STATUS_")
    private String businessStatus;


}
